package com.letfox.ad.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.letfox.ad.dao.ADPosDao;
import com.letfox.ad.model.ADPos;
import com.letfox.ad.service.ADPosService;

@Service
public class ADPosServiceImpl implements ADPosService {
	
	@Autowired
	private ADPosDao adPosDao;

	@Override
	public int deleteByPrimaryKey(String adPosId) {
		return adPosDao.deleteByPrimaryKey(adPosId);
	}

	@Override
	public int insert(ADPos record) {
		return adPosDao.insert(record);
	}

	@Override
	public ADPos selectByPrimaryKey(String adPosId) {
		return adPosDao.selectByPrimaryKey(adPosId);
	}

	@Override
	public int updateByPrimaryKey(ADPos record) {
		return adPosDao.updateByPrimaryKey(record);
	}

}
